package com.attendance.chdingtask.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Set;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CorpUserDetail implements Serializable {
    private static final long serialVersionUID = -7085531428564163482L;

    private  String corpId;
    //应用权限列表
    private Set permissionSet;

    private String token;
    @ApiModelProperty(value = "员工id")
    private String userid;
    @ApiModelProperty(value = "name")
    private String name;
    @ApiModelProperty("手机号")
    private String mobile;
    @ApiModelProperty("角色id组")
    private String rolesIds;
    @ApiModelProperty("成员所属部门id列表")
    private String department;

    @ApiModelProperty("应用注册id")
    private Long appId;

    @ApiModelProperty(value = "头像url")
    private String avatar;
}
